<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Exil: Référence du fichier src/Ville.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exil
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Structures de données</a> &#124;
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier src/Ville.h</div>  </div>
</div><!--header-->
<div class="contents">

<p>Définit la structure d'une <a class="el" href="struct_ville.html">Ville</a>.  
<a href="#details">Plus de détails...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_entrepot_8h_source.html">Entrepot.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_arbre_tech_8h_source.html">ArbreTech.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_population_8h_source.html">Population.h</a>&quot;</code><br/>
</div>
<p><a href="_ville_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Structures de données</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ville.html">Ville</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#ae0e98f68572f1364d5abad77b0648976">initVille</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">initialise les valeurs d'une ville  <a href="#ae0e98f68572f1364d5abad77b0648976"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#ad8e6c98dcf421dbd6468fe5ba8f94c15">creerVille</a> (<a class="el" href="struct_ville.html">Ville</a> **ville)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Créé une structure VilleProduction.  <a href="#ad8e6c98dcf421dbd6468fe5ba8f94c15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#ab100dbbe3f632e2d02bf8876a831ea04">detruireVille</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#ade2acf00c9e57b9393c7cdbbfb9ec28b">ajouterMembreVille</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#afb8f5cea79fa2d025703be1f3daf1e66">retirerMembreVille</a> (<a class="el" href="struct_ville.html">Ville</a> *ville, <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a7ca2b8c71cb73f62a4a98553962f8726">getNomClan</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">renvois la chaine de caracères du nom du clan  <a href="#a7ca2b8c71cb73f62a4a98553962f8726"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a17231327c30fd281dee7915414501c15">getEffectif</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a11802849593be4893df783d462efa7a2">getReserves</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Renvois un pointeur sur l'entrepot de la ville.  <a href="#a11802849593be4893df783d462efa7a2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a31cf0893bce1c5ccb269add9dd7faea7">setNomClan</a> (<a class="el" href="struct_ville.html">Ville</a> *ville, char *nouvNom)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">attibue un nom de clan à la ville passée en argument  <a href="#a31cf0893bce1c5ccb269add9dd7faea7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a1db29cab993bf6cf3f41947a45517a56">calcPrioriteComportements</a> (<a class="el" href="struct_ville.html">Ville</a> *ville, <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#ae64f04309fa7f7d797643ad3cf770c12">calcDepartPop</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">renvois le nombre de parsonnages quittant la ville en fonction des paramètres démographiques  <a href="#ae64f04309fa7f7d797643ad3cf770c12"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a589cabac878f47dc54c8a734a287773b">calcArriveesPop</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">calcule le nombre de personnage arrivant dans la ville en fonction des paramètres démographiques  <a href="#a589cabac878f47dc54c8a734a287773b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#acec0cfc996253ff0d35d2ad9546e916e">calcConsomationNourr</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a9f0e6d828c87b12a5172c6b7ce8e6bfa">calcEvolutionMoral</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#abd0d6475a707dc7331c69adc95b7d139">devTechArbreTechVille</a> (<a class="el" href="struct_ville.html">Ville</a> *ville, <a class="el" href="struct_arbre_tech.html">ArbreTech</a> *pAT, int IDTech)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Développe une technologie dont on aura passé l'ID.  <a href="#abd0d6475a707dc7331c69adc95b7d139"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ville_8h.html#a1417f4e94e857d4dc854ec1c1ca15c93">incrementePasDeTemps</a> (<a class="el" href="struct_ville.html">Ville</a> *ville)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">fait évoluer la ville d'un pas de temps en modifiant ses paramètres en conséquence  <a href="#a1417f4e94e857d4dc854ec1c1ca15c93"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><p>Définit la structure d'une <a class="el" href="struct_ville.html">Ville</a>. </p>
<p>C'est ici que sont définis la structure de la ville, ses accesseurs, ses mutateurs. </p>
</div><hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="ade2acf00c9e57b9393c7cdbbfb9ec28b"></a><!-- doxytag: member="Ville.h::ajouterMembreVille" ref="ade2acf00c9e57b9393c7cdbbfb9ec28b" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#ade2acf00c9e57b9393c7cdbbfb9ec28b">ajouterMembreVille</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a589cabac878f47dc54c8a734a287773b"></a><!-- doxytag: member="Ville.h::calcArriveesPop" ref="a589cabac878f47dc54c8a734a287773b" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_ville_8h.html#a589cabac878f47dc54c8a734a287773b">calcArriveesPop</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>calcule le nombre de personnage arrivant dans la ville en fonction des paramètres démographiques </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>Pointeur sur la ville </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acec0cfc996253ff0d35d2ad9546e916e"></a><!-- doxytag: member="Ville.h::calcConsomationNourr" ref="acec0cfc996253ff0d35d2ad9546e916e" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_ville_8h.html#acec0cfc996253ff0d35d2ad9546e916e">calcConsomationNourr</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae64f04309fa7f7d797643ad3cf770c12"></a><!-- doxytag: member="Ville.h::calcDepartPop" ref="ae64f04309fa7f7d797643ad3cf770c12" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_ville_8h.html#ae64f04309fa7f7d797643ad3cf770c12">calcDepartPop</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>renvois le nombre de parsonnages quittant la ville en fonction des paramètres démographiques </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>Pointeur sur la ville </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9f0e6d828c87b12a5172c6b7ce8e6bfa"></a><!-- doxytag: member="Ville.h::calcEvolutionMoral" ref="a9f0e6d828c87b12a5172c6b7ce8e6bfa" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_ville_8h.html#a9f0e6d828c87b12a5172c6b7ce8e6bfa">calcEvolutionMoral</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1db29cab993bf6cf3f41947a45517a56"></a><!-- doxytag: member="Ville.h::calcPrioriteComportements" ref="a1db29cab993bf6cf3f41947a45517a56" args="(Ville *ville, Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#a1db29cab993bf6cf3f41947a45517a56">calcPrioriteComportements</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad8e6c98dcf421dbd6468fe5ba8f94c15"></a><!-- doxytag: member="Ville.h::creerVille" ref="ad8e6c98dcf421dbd6468fe5ba8f94c15" args="(Ville **ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#ad8e6c98dcf421dbd6468fe5ba8f94c15">creerVille</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> **&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Créé une structure VilleProduction. </p>
<p>Alloue de la mémoire à la <a class="el" href="struct_ville.html">Ville</a> initialise ses valeurs avec initVille </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>Pointeur sur le pointeur de la <a class="el" href="struct_ville.html">Ville</a> à initialiser </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab100dbbe3f632e2d02bf8876a831ea04"></a><!-- doxytag: member="Ville.h::detruireVille" ref="ab100dbbe3f632e2d02bf8876a831ea04" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#ab100dbbe3f632e2d02bf8876a831ea04">detruireVille</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abd0d6475a707dc7331c69adc95b7d139"></a><!-- doxytag: member="Ville.h::devTechArbreTechVille" ref="abd0d6475a707dc7331c69adc95b7d139" args="(Ville *ville, ArbreTech *pAT, int IDTech)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#abd0d6475a707dc7331c69adc95b7d139">devTechArbreTechVille</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_arbre_tech.html">ArbreTech</a> *&#160;</td>
          <td class="paramname"><em>pAT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>IDTech</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Développe une technologie dont on aura passé l'ID. </p>
<p>Edite le champ dev de la technologie dont on a passé l'ID, le tableau de prérequis des technologies qui la nécessitent et les valeurs des bonus/malus induits </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>Pointeur sur la ville </td></tr>
    <tr><td class="paramname">pAT</td><td>Pointeur vers un arbre des technologies </td></tr>
    <tr><td class="paramname">pSA</td><td>Pointeur vers un sous-arbre</td></tr>
  </table>
  </dd>
</dl>
<p>Edite le champ dev de la technologie dont on a passé l'ID, le tableau de prérequis des technologies qui la nécessitent et les valeurs des bonus/malus induits </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pAT</td><td>Pointeur vers un arbre des technologies </td></tr>
    <tr><td class="paramname">pSA</td><td>Pointeur vers un sous-arbre </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a17231327c30fd281dee7915414501c15"></a><!-- doxytag: member="Ville.h::getEffectif" ref="a17231327c30fd281dee7915414501c15" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_ville_8h.html#a17231327c30fd281dee7915414501c15">getEffectif</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7ca2b8c71cb73f62a4a98553962f8726"></a><!-- doxytag: member="Ville.h::getNomClan" ref="a7ca2b8c71cb73f62a4a98553962f8726" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="_ville_8h.html#a7ca2b8c71cb73f62a4a98553962f8726">getNomClan</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>renvois la chaine de caracères du nom du clan </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>pointeur sur la ville ciblée </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a11802849593be4893df783d462efa7a2"></a><!-- doxytag: member="Ville.h::getReserves" ref="a11802849593be4893df783d462efa7a2" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_entrepot.html">Entrepot</a>* <a class="el" href="_ville_8h.html#a11802849593be4893df783d462efa7a2">getReserves</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renvois un pointeur sur l'entrepot de la ville. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>Pointeur sur la ville </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1417f4e94e857d4dc854ec1c1ca15c93"></a><!-- doxytag: member="Ville.h::incrementePasDeTemps" ref="a1417f4e94e857d4dc854ec1c1ca15c93" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#a1417f4e94e857d4dc854ec1c1ca15c93">incrementePasDeTemps</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>fait évoluer la ville d'un pas de temps en modifiant ses paramètres en conséquence </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>Pointeur sur la ville </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae0e98f68572f1364d5abad77b0648976"></a><!-- doxytag: member="Ville.h::initVille" ref="ae0e98f68572f1364d5abad77b0648976" args="(Ville *ville)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#ae0e98f68572f1364d5abad77b0648976">initVille</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>initialise les valeurs d'une ville </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>pointeur sur la ville à initialiser </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afb8f5cea79fa2d025703be1f3daf1e66"></a><!-- doxytag: member="Ville.h::retirerMembreVille" ref="afb8f5cea79fa2d025703be1f3daf1e66" args="(Ville *ville, Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#afb8f5cea79fa2d025703be1f3daf1e66">retirerMembreVille</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a31cf0893bce1c5ccb269add9dd7faea7"></a><!-- doxytag: member="Ville.h::setNomClan" ref="a31cf0893bce1c5ccb269add9dd7faea7" args="(Ville *ville, char *nouvNom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_ville_8h.html#a31cf0893bce1c5ccb269add9dd7faea7">setNomClan</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_ville.html">Ville</a> *&#160;</td>
          <td class="paramname"><em>ville</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>nouvNom</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>attibue un nom de clan à la ville passée en argument </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ville</td><td>Pointeur sur la ville </td></tr>
    <tr><td class="paramname">nouvNom</td><td>Chaine de caactère du nouveau nom </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définitions de type</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Mardi Juin 4 2013 00:35:15 pour Exil par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
